package cn.dw.dg.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.dw.dg.mapper.BasicDataMapper;
import cn.dw.dg.model.BasicData;
import cn.dw.dg.service.BasicDataService;

@Service
public class BasicServiceImpl implements  BasicDataService{
	@Autowired
	private BasicDataMapper basicDataMapper;
	
	@Override
	public void add(BasicData basicData) {
		basicDataMapper.add(basicData);
	}

	@Override
	public void update(BasicData basicData) {
		basicDataMapper.update(basicData);
	}

	@Override
	public List<BasicData> select(BasicData basicData) {
		return basicDataMapper.select(basicData);
	}

	@Override
	public void delete(BasicData basicData) {
		basicDataMapper.delete(basicData);
	}

	
}
